/// currentTime : 1627552649531
/// data : [{"context":"被","contextType":1,"createTime":1627552614,"delFlag":0,"delTime":0,"gsaId":"61027b66de666c3b203fb8cb","nickNames":"轩辕纽,郜嘀,凸透镜","oImages":"null","receiver":3,"size":0,"toUsers":"10000016,10000008,10000010","userId":10000014},{"context":"测试","contextType":1,"createTime":1627552439,"delFlag":0,"delTime":0,"gsaId":"61027ab7de666c3b203fb8c8","nickNames":"郜嘀,轩辕纽,凸透镜","receiver":3,"size":0,"toUsers":"10000008,10000016,10000010","userId":10000014}]
/// resultCode : 1

class SomeMessageModel {
  int currentTime;
  List<Data> data;
  int resultCode;

  SomeMessageModel({this.currentTime, this.data, this.resultCode});

  SomeMessageModel.fromJson(dynamic json) {
    currentTime = json["currentTime"];
    if (json["data"] != null) {
      data = [];
      json["data"].forEach((v) {
        data.add(Data.fromJson(v));
      });
    }
    resultCode = json["resultCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["currentTime"] = currentTime;
    if (data != null) {
      map["data"] = data.map((v) => v.toJson()).toList();
    }
    map["resultCode"] = resultCode;
    return map;
  }
}

/// context : "被"
/// contextType : 1
/// createTime : 1627552614
/// delFlag : 0
/// delTime : 0
/// gsaId : "61027b66de666c3b203fb8cb"
/// nickNames : "轩辕纽,郜嘀,凸透镜"
/// oImages : "null"
/// receiver : 3
/// size : 0
/// toUsers : "10000016,10000008,10000010"
/// userId : 10000014

class Data {
  String context;
  int contextType;
  int createTime;
  int delFlag;
  int delTime;
  String gsaId;
  String nickNames;
  String oImages;
  int receiver;
  int size;
  String toUsers;
  int userId;

  Data(
      {this.context,
      this.contextType,
      this.createTime,
      this.delFlag,
      this.delTime,
      this.gsaId,
      this.nickNames,
      this.oImages,
      this.receiver,
      this.size,
      this.toUsers,
      this.userId});

  Data.fromJson(dynamic json) {
    context = json["context"];
    contextType = json["contextType"];
    createTime = json["createTime"];
    delFlag = json["delFlag"];
    delTime = json["delTime"];
    gsaId = json["gsaId"];
    nickNames = json["nickNames"];
    oImages = json["oImages"];
    receiver = json["receiver"];
    size = json["size"];
    toUsers = json["toUsers"];
    userId = json["userId"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["context"] = context;
    map["contextType"] = contextType;
    map["createTime"] = createTime;
    map["delFlag"] = delFlag;
    map["delTime"] = delTime;
    map["gsaId"] = gsaId;
    map["nickNames"] = nickNames;
    map["oImages"] = oImages;
    map["receiver"] = receiver;
    map["size"] = size;
    map["toUsers"] = toUsers;
    map["userId"] = userId;
    return map;
  }
}
